<?php
use think\facade\Route;

// 协议路由
Route::group('agreement/<key>', function () {
    Route::get('fetch$',   '@fetch');
    Route::get('content/<mhm_id>$', '@content')->setOption('is_api', 0);
})->prefix('\app\content\service\content\Agreement')->pattern(['key' => '\w+', 'mhm_id' => '\d+'])->middleware(['withoutLogin']);